#include "U2GLESPreRequest.h"

#if !U2_STATIC_LIB

#include "U2Root.h"
#include "U2GLESPlugin.h"


U2EG_NAMESPACE_USING

static U2GLESPlugin* plugin;

extern "C" void _U2GLESShare dllStartPlugin(void) throw()
{
    plugin = new U2GLESPlugin();
    U2Root::getSingleton().installPlugin(plugin);

}

extern "C" void _U2GLESShare dllStopPlugin(void)
{
    U2Root::getSingleton().uninstallPlugin(plugin);
    delete plugin;
}



#endif  // U2_STATIC_LIB